package com.org.csu.dto;

import jakarta.persistence.Column;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.Id;

import java.math.BigDecimal;

import static jakarta.persistence.GenerationType.IDENTITY;

/**
 * @author YigongLily
 * @version V1.0
 * Copyright (c) 2024, t8669@qq.com All Rights Reserved.
 * @ProjectName:e-commerce-back
 * @Title: KeywordDTO
 * @Package com.org.csu.dto
 * @Description: keywordDTO
 * @date 2024/12/15 11:49
 */

public class KeywordDTO {
    private Integer wordId;

    private String word;

    private Integer hot;

    private BigDecimal value;

    private String url;

    private String flow;

    private Integer rate;

    private String date;
    public KeywordDTO() {}

    public KeywordDTO(Integer wordId, String word, Integer hot, BigDecimal value, String url, String flow, Integer rate) {
        this.wordId = wordId;
        this.word = word;
        this.hot = hot;
        this.value = value;
        this.url = url;
        this.flow = flow;
        this.rate = rate;
    }

    public Integer getWordId() {
        return wordId;
    }

    public void setWordId(Integer wordId) {
        this.wordId = wordId;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public Integer getHot() {
        return hot;
    }

    public void setHot(Integer hot) {
        this.hot = hot;
    }

    public BigDecimal getValue() {
        return value;
    }

    public void setValue(BigDecimal value) {
        this.value = value;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getFlow() {
        return flow;
    }

    public void setFlow(String flow) {
        this.flow = flow;
    }

    public Integer getRate() {
        return rate;
    }

    public void setRate(Integer rate) {
        this.rate = rate;
    }

    public String getDate() {return date;}
    public void setDate(String date) {this.date = date;}
}